<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Status extends Model
{

     protected $fillable=[
       'content'
     ];


     //一条微博对应着一个用户
     public function user()
     {

       return $this->belongsTo(User::class);
     }




}
